package com.netty.demo.server.utils;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Administrator 余秀良
 * @version 1.0
 * <p>date: 2019年10月08日  09:14 </p>
 * <p>address: 四川成都 </p>
 */
@Data
@XmlRootElement(name = "name")
@XmlAccessorType(value = XmlAccessType.NONE)
public class NameElement {
    @XmlAttribute(name = "name")
    private String name;
    @XmlAttribute(name = "value")
    private String value;
    @XmlAttribute(name = "id")
    private String id;
}
